package java3_3;

import java.util.Scanner;

/**
 2：将一个正整数分解质因数。例如：输入90,打印出90=2*3*3*5。
 17=17
 */
public class homework2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        int i = 2;
        int x = num;
        String m = "";
        while (true){
            if (x%i==0){
                //m = m+i + "*";
                if (x==i){
                    m = m + i;
                    break;
                }
                x = x/i;
                m = m+i + "*";
            }else {
                i++;
            }
        }
        System.out.println(num+"="+m);
    }
}
//String m = num =i